package com.sihan.framework.etm.dto.baseData;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@NoArgsConstructor
@Data
public class RecordListIntervalDTO {

    private List<String> codeList;

    @DateTimeFormat(
            iso = DateTimeFormat.ISO.DATE_TIME
    )
    private Date startTime;

    @DateTimeFormat(
            iso = DateTimeFormat.ISO.DATE_TIME
    )
    private Date endTime;

}
